<div class="container" ng-controller="groupbuyCtrl">
	<header data-am-widget="header" class="am-header am-header-default my-header">
		<div class="am-header-left am-header-nav">
			<a href="#/home" class="">
				<i class="am-header-icon am-icon-chevron-left"></i>
			</a>
		</div>
		<h1 class="am-header-title">
        <a href="#title-link" class="">订单列表</a>
      </h1>
	</header>

	<div class="am-cf cart-panel">
		<div class="withdrawals-panel" ng-repeat="ord in orders">
			<p class="groupby-t-p"><span class="am-fr">{{ord.id}}</span>订单号：</p>
			<hr class="am-divider am-divider-default am-cf" />
			<div class="<!--groupby-info-panle-->">
				<h4>{{ord.attributes.c_id.attributes.p_id.attributes.name}}</h4>
				<p>单价：<span class="red2 bold">{{ord.attributes.c_id.attributes.price}}</span> 元 </p>
				<p>货品量：<span class="am-text-success">{{ord.attributes.onum}}</span></p>
				<p>
					<div id="delorder" ng-click="delorder(ord)" class="am-btn am-btn-primary am-btn-xs am-btn-success am-radius" style="color: white;">取消订单</div>
				</p>
			</div>
		</div>
	</div>

	<footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{  }">
		<hr data-am-widget="divider" style="" class="am-divider am-divider-default" />
	</footer>
	<!--底部-->
	<div data-am-widget="navbar" class="am-navbar am-cf my-nav-footer " id="">
		<ul class="am-navbar-nav am-cf am-avg-sm-4 my-footer-ul">
			<li>
				<a href="#/home" class="">
					<span class="am-icon-home"></span>
					<span class="am-navbar-label">首页</span>
				</a>
			</li>
			<li>
				<a href="#/shopmap" class="">
					<span class=" am-icon-map-marker"></span>
					<span class="am-navbar-label">地图</span>
				</a>
			</li>
			<li>
				<a href="#/information" class="">
					<span class="am-icon-user"></span>
					<span class="am-navbar-label">用户</span>
				</a>
			</li>
		</ul>
	</div>
</div>